package com.ly.heart.service;

import com.ly.common.core.domain.AjaxResult;
import com.ly.heart.domain.KingFinanceReceiptRefundEntity;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ly.heart.domain.dto.KingFinanceReceiptRefundDto;
import com.ly.heart.domain.vo.KingFinanceReceiptRefundVo;

import java.util.List;

/**
 * <p>
 * 收款退款单 服务类
 * </p>
 * @author WuZH
 * @since 2024-08-04
 */
public interface IKingFinanceReceiptRefundService extends IService<KingFinanceReceiptRefundEntity> {

    AjaxResult draft (KingFinanceReceiptRefundDto kingFinanceReceiptRefundDto);

    AjaxResult submit (KingFinanceReceiptRefundEntity kingFinanceReceiptRefundEntity);

    KingFinanceReceiptRefundVo querySingle (String id);

    AjaxResult queryList (KingFinanceReceiptRefundEntity kingFinanceReceiptRefundEntity);

    AjaxResult updateSingle (KingFinanceReceiptRefundDto kingFinanceReceiptRefundDto);

    KingFinanceReceiptRefundEntity querySingleById (String id);

    AjaxResult approve (String id);

}
